package cn.sixos.vo;

import java.util.Set;

import cn.sixos.entity.Course;

public class UserVo {
	private long id;
	private String userName;
	private String password;
	private String userEmail;
	private String sex;
	private String dept;
	private String role;
	private int state;
	private Set<Course> courseSet;

	public UserVo() {
		super();
	}

	public UserVo(long id, String userName, String password, String userEmail,
			String sex, String dept, String role, int state,
			Set<Course> courseSet) {
		super();
		this.id = id;
		this.userName = userName;
		this.password = password;
		this.userEmail = userEmail;
		this.sex = sex;
		this.dept = dept;
		this.role = role;
		this.state = state;
		this.courseSet = courseSet;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getDept() {
		return dept;
	}

	public void setDept(String dept) {
		this.dept = dept;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public Set<Course> getCourseSet() {
		return courseSet;
	}

	public void setCourseSet(Set<Course> courseSet) {
		this.courseSet = courseSet;
	}

	@Override
	public String toString() {
		return "UserVo [id=" + id + ", userName=" + userName + ", password="
				+ password + ", userEmail=" + userEmail + ", sex=" + sex
				+ ", dept=" + dept + ", role=" + role + ", state=" + state
				+ ", courseSet=" + courseSet + "]";
	}

}
